﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GimnasioTauro
{
    public partial class Deportista_Perfil : Form
    {
        public Deportista_Perfil()
        {
            InitializeComponent();
        }

        private void buttonCitaBuscar_Click(object sender, EventArgs e)
        {
            Deportista_CitaBuscarResultado vet = new Deportista_CitaBuscarResultado();
            vet.Visible = true;
        }

        private void informaciónPersonalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panelCitaBuscar.Visible = false;
          
            panelInfoPersonal.Visible = true;
        }

        private void nuevoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Deportista_NuevaCita vet = new Deportista_NuevaCita();
            vet.MdiParent = this;
            vet.Show();
        }

        private void buscarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panelCitaBuscar.Visible = true;
           
            panelInfoPersonal.Visible = false;
        }

        private void Deportista_Perfil_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();
        }

        private void rutinaToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        
    }
}
